package cn.iocoder.yudao.module.erp.controller.admin.pristock.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - ERP 一级库库存分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PriStockPageReqVO extends PageParam {

    @Schema(description = "仓库编号", example = "30000")
    private String warehouseId;

    @Schema(description = "产品编号", example = "30654")
    private String productId;

    @Schema(description = "产品单位")
    private String productUnit;

    @Schema(description = "产品规格")
    private String productStandards;

    @Schema(description = "产品名称", example = "芋艿")
    private String productName;

    @Schema(description = "单位id", example = "5557")
    private String deptId;

    @Schema(description = "产品销售单价", example = "26275")
    private BigDecimal[] productPrice;

    @Schema(description = "批次")
    private String productBatch;

    @Schema(description = "有效期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] productValidityDate;

    @Schema(description = "库存数量", example = "20294")
    private String[] count;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "产品单位编号")
    private Long productUnitId;

    @Schema(description = "产品单位")
    private String productUnitName;

    @Schema(description = "产品分类编号")
    private Long productCategoryId;

    @Schema(description = "产品分类名称")
    private String productCategoryName;

    @Schema(description = "产品采购价格")
    private BigDecimal productPurchasePrice;

    @Schema(description = "产品入库批次")
    private String inboundBatch;

}